const int LEDCount = 8;
int LEDPins[] = {0,1,2,3,4,5,6,7};

void setup() {
  // put your setup code here, to run once:
    for(int led = 0;led < LEDCount; led++){
      pinMode(LEDPins[led],OUTPUT);
    }
}

void loop() {
  // put your main code here, to run repeatedly:
  for(int index = 0;index <8; index ++){
    digitalWrite(LEDPins[index],HIGH);
  }
  for(int index = 0;index <8; index ++){
    digitalWrite(LEDPins[index],LOW);
    delay(200);
    digitalWrite(LEDPins[index],HIGH);
  }

  
}
